<!--
  @author xiaofei
  @date 2020-7-29
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html th:replace="~{work/modify/common/layout :: layout('物流信息', ~{::title}, ~{::content}, ~{::script})}"
    xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <title>工单管理-物流信息</title>
    <style>

    </style>
</head>

<body>

    <div th:fragment="content">
        <style>
            .layui-table-cell {
                overflow: visible !important;
                height: 34px;
                line-height: 34px;
            }
            .layui-table-box {
                overflow: visible !important;
            }
            .layui-table-body {
                overflow: visible !important;
            }
            .layui-table-box td[data-edit=text] .layui-table-cell{
                border: 0px !important;
            }
            .layui-form-select{
                margin-top: -5px;
            }
            .layui-form-select .layui-select-title .layui-input{
                border: 0px !important;
            }
        </style>

        <div>
            <form class="layui-form post-form">
                <input id="work-id" type="hidden" name="workId" th:value="${workId}"/>
                <input id="order-id" type="hidden" name="orderId" th:value="${orderId}"/>

                <button type="button" class="layui-btn" lay-event="edit" lay-filter="addOrderPost" id="addOrderPost">新增</button>

                <table id="orderPostTable" class="layui-table" lay-filter="orderPostTable">
                </table>

                <div>
                    操作备注:
                    <textarea id='operatorRemark' style="resize: none;" class="layui-textarea" name="operatorRemark"></textarea>
                </div>
                <div style="margin-top:10px ;">
                    <button class="layui-btn" lay-submit>保存</button>
                </div>
            </form>
        </div>

    </div>
    <script type="text/html" id="btns">
        {{#  if(d.itemType == 1 && d.modifiable != 1){ }}
        <a class="layui-btn layui-btn-xs" lay-event="del">删除</a>
        {{#  } }}
    </script>

    <script type="text/html" id="expressCompanySelect">
        <select tag="expressCompanyList" lay-filter="expressCompanyList" lay-search data-value="{{d.expressCompanyCode}}">
            <option value="">请选择</option>
            <option th:each="item : ${expressCompanyList}" th:value="${item.key}" th:text="${item.value}"></option>
        </select>
    </script>

    <script th:inline="javascript">

        var orderPostList = [[${ orderPostList }]];

        var layuiModel = {
            oms_work_modify_orderpost: "work/modify/zmn.oms.work.modify.orderpost"
        };

    </script>
</body>

</html>